//package src;
import java.awt.*;
import java.io.*;

public abstract class Shape implements Serializable{

	private Color color;
	public abstract void draw(Graphics g); 
	public abstract int setLeftPoint(int left);
	public abstract int setTopPoint(int top);
	
	public Shape(Color initColor)
	{
		color = initColor;
	}
	
   	public Color getColor()
  	{
    	return color;
  	}
   	
  	public void setColor(Color newColor)
  	{
   		color = newColor;
  	}
}
